var status = -1;
var selectionLog = [];

function start() {
    action(1, 0, 0)
}

function action(d, c, b) {
    if (status == 0 && d == 0) {
        cm.dispose();
        return
    }
    status++;
    selectionLog[status] = b;
    var a = -1;
    if (status <= a++) {
        cm.dispose()
    } else {
        if (status === a++) {
            cm.curNodeEventEnd(true);
            cm.setInGameDirectionMode(true, true, false);
            cm.sendNormalTalk("这里是……哪里？我本来想抓住那个人……", 17, 0, false, true)
        } else {
            if (status === a++) {
                cm.curNodeEventEnd(true);
                cm.inGameDirectionEvent_MoveAction(2);
                cm.inGameDirectionEvent_AskAnswerTime(1000)
            } else {
                if (status === a++) {
                    cm.inGameDirectionEvent_MoveAction(0);
                    cm.inGameDirectionEvent_AskAnswerTime(1000)
                } else {
                    if (status === a++) {
                        cm.sendNormalTalk("没人吗……？", 17, 0, false, true)
                    } else {
                        if (status === a++) {
                            cm.sendNormalTalk("哪里有声音……这好像是胡克的声音……", 17, 0, true, true)
                        } else {
                            if (status === a++) {
                                cm.inGameDirectionEvent_ForcedFlip15(700, 0, 0, 0, 0);
                                cm.setInGameDirectionMode(false, true, false);
                                cm.forceStartQuest(20891, "dream");
                                cm.dispose();
                                cm.warp(913031003, 3, false)
                            }
                        }
                    }
                }
            }
        }
    }
};